package com.jiefeng.manager.table.springsecurity;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

/**
 * web访问资源所需权限定义
 */
public class WebResourceAuthority implements Serializable {

    private static final long serialVersionUID = -1L;

    private  Integer id;

    /** web访问url资源 */
    private  String UrlResource;

    /** web访问url资源所需要的权限 */
    private    String UrlAuthority;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrlResource() {
        return UrlResource;
    }

    public void setUrlResource(String urlResource) {
        UrlResource = urlResource;
    }

    public String getUrlAuthority() {
        return UrlAuthority;
    }

    public void setUrlAuthority(String urlAuthority) {
        UrlAuthority = urlAuthority;
    }

    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }

}
